﻿namespace IDal
{
    public interface IBaseDal<T>
    {

        Task<int> AddAnync(T t);
        Task<int> AddRangeAnync(List<T> list);
        Task<int> DeleteAnync(T t);
        Task<int> DeleteRangeAnync(List<T> list);
        Task<int> UpadateAnync(T t);
        Task<int> UpadateRangeAnync(List<T> list);

        IQueryable<T> GetAllAnync();




    }
}
